package com.macro.mall.dao.ums;


import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.macro.mall.model.ums.UmsResourceCategoryDO;
import com.macro.mall.model.ums.UmsResourceCategoryQuery;
import org.apache.ibatis.annotations.Param;

public interface UmsResourceCategoryMapper extends BaseMapper<UmsResourceCategoryDO> {
    long countByExample(UmsResourceCategoryQuery example);

    int deleteByExample(UmsResourceCategoryQuery example);

    int deleteByPrimaryKey(Long id);

    int insert(UmsResourceCategoryDO record);

    int insertSelective(UmsResourceCategoryDO record);

    List<UmsResourceCategoryDO> selectByExample(UmsResourceCategoryQuery example);

    UmsResourceCategoryDO selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") UmsResourceCategoryDO record, @Param("example") UmsResourceCategoryQuery example);

    int updateByExample(@Param("record") UmsResourceCategoryDO record, @Param("example") UmsResourceCategoryQuery example);

    int updateByPrimaryKeySelective(UmsResourceCategoryDO record);

    int updateByPrimaryKey(UmsResourceCategoryDO record);
}
